39c1be921d8a2f6ed8652f281d401ad05714fe61,community/kernel/src/main/java/org/neo4j/kernel/impl/storemigration/participant/StoreMigrator.java,StoreMigrator,prepareBatchImportMigration,#File#File#RecordFormats#RecordFormats#,432
Before Change
{
// Migrate all token stores, schema store and dynamic node label ids, keeping their ids intact
DirectRecordStoreMigrator migrator = new DirectRecordStoreMigrator( pageCache, fileSystem, config );
migrator.migrate( storeDir, oldFormat, migrationDir, newFormat,
new StoreType[] {
StoreType.LABEL_TOKEN, StoreType.LABEL_TOKEN_NAME,
StoreType.PROPERTY_KEY_TOKEN, StoreType.PROPERTY_KEY_TOKEN_NAME,
StoreType.RELATIONSHIP_TYPE_TOKEN, StoreType.RELATIONSHIP_TYPE_TOKEN_NAME,
StoreType.NODE_LABEL,
StoreType.SCHEMA },
new StoreType[] {
StoreType.NODE,
} );
}
}
After Change
// Migrate these stores silently because they are usually very small
MigrationProgressMonitor.Section section = SilentMigrationProgressMonitor.NO_OP_SECTION;
migrator.migrate( storeDir, oldFormat, migrationDir, newFormat, section, storesToMigrate, StoreType.NODE );
}
}